10. Quiz: Getting Past Errors

Getting Past Errors

INSTRUCTOR NOTE:

Note that Android uses the American-English spelling of the word "gray".

Debugging steps:

  1. Read the error message
  2. Compare to working code
  3. Undo
  4. Ask for help

Link to the XML Visualizer

Link to the Common Views Cheatsheet

Link to code sample

How to take a screenshot

Quiz: Getting Past Errors

Getting Past Errors

QUESTION:

Describe at least 2 problems you see.

ANSWER:

  • TextView should not have an open space
  • There should be a closing tag for TextView
  • 150dp instead of 150
  • "gray" instead of "groy"

Solution Video

Getting Past Errors - Solution